using System;
using System.Collections;
using System.Collections.Generic;

namespace SmellyCode.Subtle
{
	public class SubtleDuplication
	{
		List<int> m_stuff = new List<int>();
		public SubtleDuplication ()
		{
		}
		
		public void I_Offend_In_Same_Method(){
			
			for (int i=0; i < 10; i++){
				var x = i+1;
				var str = String.Format("Loop's x value is: {0}",x);
				Console.WriteLine(str);
			}
			
			for (int i=0; i < 10; i++){
				var x = i+1;
				var str = String.Format("Loop's x value is: {0}",x);
				Console.WriteLine(str);
			}
		}
		
		public int I_Barely_Offend1(){
			Console.WriteLine("blablu");
			var x=0;
			string j = "blablabla"+x;
			m_stuff.Add(0);
			m_stuff.Add(45);
			Console.WriteLine(j);
			return 6;
		}
		
		public void I_Barely_Offend2(){
			var x=0;
			string j = "blablabla"+x;
			Console.WriteLine(j);
		}
	}
}

